package com.rpc.transport;

import com.rpc.serializer.CommonSerializer;

/**
 * @author ZhangYongLiang
 * @Date 2021/11/12 16:54
 */
public interface RpcServer {

    <T> void publishService(T service, String serviceName);

    void start();

    void setSerializer(CommonSerializer serializer);
}
